package com.hdu.careerplan.enums;

import lombok.Getter;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

@Getter
public enum CommandPatternEnum {

    NONE(new ArrayList<>()), // 不传参的情况
    INITIAL_SALARY_CHOICE(new ArrayList<>(Arrays.asList("-o", "-c", "-j"))),// o为python选择，c为city，j为岗位名
    COMPARE_SALARY_JOB(new ArrayList<>(Arrays.asList("-o", "-c", "-j", "-jl"))),// o为python选择，c为city，j为岗位名，jl为其余岗位列表
    COMPARE_SALARY_REGION(new ArrayList<>(Arrays.asList("-o", "-c", "-j", "-cl"))),// o为python选择，c为city，j为岗位名，cl为其余地区列表
    RELATED_COMPANY_JOB(new ArrayList<>(Arrays.asList("-o", "-c", "-j", "-cm", "-jl"))),// o为python选择，c为city，j为岗位名，cm为..，jl为其余岗位列表
    RELATED_COMPANY_REGION(new ArrayList<>(Arrays.asList("-o", "-c", "-j", "-cm", "-cl"))),// o为python选择，c为city，j为岗位名，cm为..，jl为其余岗位列表
    INITIAL_TECH_CHOICE(new ArrayList<>(Arrays.asList("-o", "-c", "-j"))),// o为python选择，c为city，j为岗位名
    COMPARE_TECH_JOB(new ArrayList<>(Arrays.asList("-o", "-c", "-j", "-cm", "-jl"))),// o为python选择，c为city，j为岗位名，cm为..，jl为其余岗位列表
    COMPARE_TECH_REGION(new ArrayList<>(Arrays.asList("-o", "-c", "-j", "-cm", "-cl"))),// o为python选择，c为city，j为岗位名，cm为..，cl为其余地区列表
    COMPANY_INFO(new ArrayList<>(Arrays.asList("-o", "-com"))),// o为python选择，com为company
    COMPETENCE_INFO(new ArrayList<>(Collections.singletonList("-u"))), // u为用户id
    POSITION_RECOMMENDATION_FROM_RESUME(new ArrayList<>(Collections.singletonList("-u"))), // u为用户id
    POSITION_RECOMMENDATION_FROM_INTEREST(new ArrayList<>(Collections.singletonList("-u"))), // u为用户id
    ;
    private final ArrayList<String> argList;

    CommandPatternEnum(ArrayList<String> argList) {
        this.argList = argList;
    }


}
